package com.czk.model.observe.spring;

import com.google.common.eventbus.Subscribe;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/11/1 22:10
 */
public class EventListener {
    @Subscribe
    public static void handler(NotifyEvent notifyEvent){
        System.out.println("发送IM消息" + notifyEvent.getImNo());
        System.out.println("发送短信消息" + notifyEvent.getMobileNo());
        System.out.println("发送Email消息" + notifyEvent.getEmailNo());
    }
}
